package com.aps.service;

import com.aps.entity.domain.dish.Dish;
import com.aps.entity.domain.dish.DishProcess;
import com.aps.page.BaseQuery;
import com.aps.page.Pagination;

/**
 * @author liaoguangan
 * @description <>
 * @date 2018/4/3 16:31
 */
public interface IDishProcessService {

    /**
     * 根据加工工序更新菜品加工时间
     * @param dish
     * @param dspReq
     * @param dishNum 
     */
    void updateDishProcessTime(Dish dish, String dspReq, String dishNum);

    /**
     * 查询列表
     * @param baseQuery
     * @return
     */
    Pagination<DishProcess> list(BaseQuery baseQuery);

    /**
     * 增加
     * @param dishProcess
     * @return
     */
    DishProcess add(DishProcess dishProcess);

    /**
     * 修改
     * @param dishProcess
     */
    DishProcess update(DishProcess dishProcess);

    /**
     * 删除
     * @param id
     */
    void remove(String id);

    /**
     * 查询
     * @param id
     */
    DishProcess get(String id);
}
